package com.game.gameshoppingcenter.dao;

import com.game.gameshoppingcenter.entities.Orders;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrdersRepository extends CrudRepository<Orders, Long> {
    List<Orders> findAll();
    Orders findByOrdersId( long id);
}
